/* OpenTeddy 3d sketch modeler based on the paper by T. Igarashi et al.
 *      "Teddy: A Sketching Interface for 3D Freeform Design"
 *
 * Copyright (c) 2004 Alex Ni
 *
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included
 * in all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
// "pub_infl.cpp" - Public interface for OpenTeddy into the inflate
// class.  Used so that (a) inflate class can be used by itself for
// other project, so it doesn't need GTS, OpenGL and SDL, and
// (b) so the details of the inflate class don't need to be known
// by the OpenTeddy main.


#ifndef OT_PUBLIC_INFLATE_H
#define OT_PUBLIC_INFLATE_H

class ot_inflate;

class ot_public_inflate {
private:
	ot_inflate* m_pInflate;

public:
	ot_public_inflate(double* i_points, size_t i_ptct, int i_edgetess);
	~ot_public_inflate();

	GtsSurface* generate_gts(GtsSurface*);

	void draw_2d_debug();
};

#endif //OT_PUBLIC_INFLATE_H
